package edu.lsnu.equipment_management_system.service;

import edu.lsnu.equipment_management_system.exception.DateNullException;
import edu.lsnu.equipment_management_system.pojo.vo.sql_conditions.DateAndEquipmentNoVo;

import java.util.Date;
import java.util.List;

/**
 * @author mzy
 * @Description 管理员审核
 * @date 2018/11/25
 */
public interface AdminReviewService {
    /** 报损报废审核 */
    boolean damageReview(String equipmentNo);
    /** 调入审核 */
    boolean transferInReview(String equipmentNo);
    /** 调出审核 */
    boolean transferOutReview(String equipmentNo);
    /** 购入审核 */
    boolean purchaseReview(String equipmentNo);
    /** 设备使用审核 */
    boolean useRecordReview(String equipmentNo, Date beginDate);
    /** 设备维护维修审核 */
    boolean repairReview(String equipmentNo, Date beginDate);

    /** 报损报废审核：多个 */
    void damageReviewMore(List<String> equipmentNo);
    /** 调入审核：多个 */
    void transferInReviewMore(List<String> equipmentNo);
    /** 调出审核：多个 */
    void transferOutReviewMore(List<String> equipmentNo);
    /** 购入审核：多个 */
    void purchaseReviewMore(List<String> equipmentNo);
    /** 设备使用审核：多个 */
    void useRecordReviewMore(List<DateAndEquipmentNoVo> dateAndEquipmentNoVos) throws DateNullException;
    /** 设备维护维修审核：多个 */
    void repairReviewMore(List<DateAndEquipmentNoVo> dateAndEquipmentNoVos) throws DateNullException;
}
